package com.tang4j.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.tang4j.core.model.AbstractModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 部门表
 * </p>
 *
 * @author saber
 * @since 2019-11-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "ThSysDept", description = "部门表" )
public class ThSysDept extends AbstractModel {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "父部门id" )
    @TableField("pId" )
    private String pId;

    @ApiModelProperty(value = "排序" )
    @TableField("order_no" )
    private Integer orderNo;

    @ApiModelProperty(value = "部门名称" )
    @TableField("name" )
    private String name;


}
